FROM python:3.13.2-slim-bookworm

COPY src/lucky_draw_api /root/lucky_draw_api

RUN pip install -r /root/lucky_draw_api/requirements.txt

WORKDIR /root/lucky_draw_api

CMD [ "python3", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000" ]